package drds.binlog.database_driver.packets;

import drds.binlog.common.Authors;
import drds.common.Author;

import java.io.IOException;

@Author(name = Authors.LI_YANG)
public interface IGtidSet
{

    /**
     * 序列化成字节数组
     */
    byte[] encode() throws IOException;

    /**
     * 更新当前实例
     */
    void update(String string);
}
